package com.example.shiroplusdemo.repository;

import com.example.shiroplusdemo.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-07
 **/
public interface RoleRepository extends JpaRepository<Role,Integer>,JpaSpecificationExecutor<Role> {

    Role findById(Integer id);
}
